package cn.lili.controller.xiaotao;

import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.xiaotao.XtService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p></p>
 * @since 2023/4/10 23:12
 */
@RestController
@Api(tags = "首页")
@RequestMapping("/common/common/xiaotao")
public class HomeController {

	@Autowired
	private XtService service;

	@ApiOperation(value = "普通模块 推荐模块")
	@GetMapping("/home")
	public ResultMessage home(){
		return service.home();
	}
}
